package com.bsoft.gol.hcs.clinical.bean.req;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * @author fzy91
 * @title: TraChiSyndrome
 * @projectName common-clinical
 * @description: 证候信息
 * @date 2021/8/315:12
 */

@XmlRootElement(name = "TraChiSyndrome")
public class TraChiSyndrome implements Serializable {
    /*中医证候代码*/
    private String traChiSyndromeCode;
    /*中医证候名称*/
    private String traChiSyndromeName;
    /*中医证候组号*/
    private Integer traChiSyndromeNo;

    @XmlElement(name = "TraChiSyndromeCode")
    public String getTraChiSyndromeCode() {
        return traChiSyndromeCode;
    }

    public void setTraChiSyndromeCode(String traChiSyndromeCode) {
        this.traChiSyndromeCode = traChiSyndromeCode;
    }

    @XmlElement(name = "TraChiSyndromeName")
    public String getTraChiSyndromeName() {
        return traChiSyndromeName;
    }

    public void setTraChiSyndromeName(String traChiSyndromeName) {
        this.traChiSyndromeName = traChiSyndromeName;
    }

    @XmlElement(name = "TraChiSyndromeNo")
    public Integer getTraChiSyndromeNo() {
        return traChiSyndromeNo;
    }

    public void setTraChiSyndromeNo(Integer traChiSyndromeNo) {
        this.traChiSyndromeNo = traChiSyndromeNo;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"traChiSyndromeCode\":\"")
                .append(traChiSyndromeCode).append('\"');
        sb.append(",\"traChiSyndromeName\":\"")
                .append(traChiSyndromeName).append('\"');
        sb.append(",\"traChiSyndromeNo\":")
                .append(traChiSyndromeNo);
        sb.append('}');
        return sb.toString();
    }
}
